home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / lib / partman / free_space / 98chs / do_option < prev   
Encoding:
Text File  |  2009-04-19  |  301 b   |  19 lines

  1. #!/bin/sh
  2.  
  3. . /lib/partman/lib/base.sh
  4.  
  5. dev="$2"
  6. id=$3
  7.  
  8. cd $dev
  9.  
  10. open_dialog GET_CHS $id
  11. read_line cs hs ss ce he se
  12. close_dialog
  13.  
  14. db_subst partman/show_free_chs FROMCHS "($cs,$hs,$ss)"
  15. db_subst partman/show_free_chs TOCHS "($ce,$he,$se)"
  16.  
  17. db_input critical partman/show_free_chs || true
  18. db_go || true
  19.